package com.star.carservice.client.widget;

import com.star.carservice.R;

import android.app.AlertDialog;
import android.app.AlertDialog.Builder;
import android.app.ProgressDialog;
import android.content.Context;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;

public class MyProgressDialog extends ProgressDialog {

	public MyProgressDialog(Context context) {
		super(context);
	}

	public MyProgressDialog(Context context, boolean canCanel) {
		super(context,R.style.TourProgressDialog);
		setCancelable(canCanel);
		setCanceledOnTouchOutside(false);
	}

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		
		setContentView(R.layout.view_progress_dialog);
	}
	
	

}
